bgo#571374 - Add 30-bit visuals to the list of supported depths
authorJohn Brown <john.brown3@hp.com>
Tue, 31 Mar 2009 23:31:28 +0000 (17:31 -0600)
committerFederico Mena Quintero <federico@novell.com>
Tue, 31 Mar 2009 23:31:28 +0000 (17:31 -0600)
Signed-off-by: Federico Mena Quintero <federico@novell.com>
gdk/x11/gdkvisual-x11.c

index e06c3560a5318c692b7d241bde0d034ea9dd7f58..593e3bab816079938dc06e8c4df2cb80747e417c 100644 (file)
@@ -95,7 +95,7 @@ gdk_visual_get_type (void)
 void
 _gdk_visual_init (GdkScreen *screen)
 {
-  static const gint possible_depths[7] = { 32, 24, 16, 15, 8, 4, 1 };
+  static const gint possible_depths[8] = { 32, 30, 24, 16, 15, 8, 4, 1 };
   static const GdkVisualType possible_types[6] =
     {
       GDK_VISUAL_DIRECT_COLOR,